Skip to content

Comments

[GUI] Fix possible division-by-zero bug in superblock time left#68

Merged
Fuzzbawls merged 1 commit intoPIVX-Project:masterfrom
Fuzzbawls:2024_sec-to-time
Jun 23, 2024
Merged

[GUI] Fix possible division-by-zero bug in superblock time left#68
Fuzzbawls merged 1 commit intoPIVX-Project:masterfrom
Fuzzbawls:2024_sec-to-time

Conversation

@Fuzzbawls
Copy link
Contributor

Re-work the function that converts seconds to days, hours, minutes to avoid a division-by-zero situation when the time left until the next superblock is less than 1 day.

Also, no longer show seconds in the text as they are always zero.

Re-work the function that converts seconds to days, hours, minutes to avoid a division-by-zero situation when the time left until the next superblock is less than 1 day.

Also, no longer show seconds in the text as they are always zero.
@Fuzzbawls Fuzzbawls added Bug Something isn't working GUI labels May 28, 2024
@Fuzzbawls Fuzzbawls self-assigned this May 28, 2024
@Fuzzbawls Fuzzbawls added this to the 0.7.1 milestone May 28, 2024
@Fuzzbawls Fuzzbawls requested a review from Liquid369 May 28, 2024 06:04
Copy link
Member

@Liquid369 Liquid369 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ACK 83aac5a

@Fuzzbawls Fuzzbawls merged commit 1eb5363 into PIVX-Project:master Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants